@import '../../constant.less';

.main {
  margin: 24px;
  padding: 10px 24px 28px;
  background-color: var(--bg-main);
}
.tabAndOperate {
  position: relative;
  display: flex;
  height: 62px;
  &::after {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    height: 0;
    border-bottom: 1px solid var(--ant-cus-bd_default);
    content: '';
  }
  .mainTab {
    display: flex;
    flex: auto;
    width: 1px;
    :global {
      .ant-tabs-nav::before {
        display: none;
      }
      .ant-tabs-tab + .ant-tabs-tab {
        margin-left: 32px;
      }
    }
    .plusBtn {
      display: flex;
      flex: none;
      align-items: center;
      height: 46px;
      margin-left: 24px;
      color: var(--font-primary);
      cursor: pointer;
      .icon {
        margin-right: 5px;
      }
    }
    .plusBtn.marginLeft0 {
      margin-left: 0;
    }
  }
  .mainOperate {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    height: 46px;
    margin-left: 10px;
    :global {
      .ant-btn {
        margin-left: 16px;
      }
    }
    .exportBtn {
      display: flex;
      align-items: center;
      margin-left: 16px;
      color: var(--font-primary);
      cursor: pointer;
      .icon {
        margin-right: 10px;
      }
    }
    .timerBtn {
      display: flex;
      align-items: center;
      justify-content: center;
      .lockIcon {
        margin-left: 20px;
      }
    }
    .timer {
      position: absolute;
      top: 42px;
      right: 54px;
      z-index: 1;
      width: 112px;
      background: rgba(58, 58, 58, 1);
      .date {
        position: absolute;
        top: 0;
        left: -100px;
        width: 100px;
        height: 32px;
        line-height: 32px;
        text-align: center;
        background: rgba(58, 58, 58, 1);
      }
    }
  }
}
.firstLevelOperate::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  border-bottom: 1px solid #4b4b4b;
  content: '';
}
.tabPane {
  position: relative;
  display: flex;
  align-items: center;
  .deleteIcon {
    position: absolute;
    right: -24px;
  }
  .programStatus {
    margin-right: 4px;
  }
}
.cancelTimerModal {
  :global {
    .ant-modal-footer {
      border-top: none !important;
    }
  }
  .cancelModalContent {
    display: flex;
    align-items: center;
    .text {
      margin-left: 18px;
    }
  }
}
